package xyz.syyrjx.blog.dao.tool.game2048;

import org.apache.ibatis.annotations.Mapper;
import xyz.syyrjx.blog.entity.Score2048;

import java.util.List;

/**
 * @author 大地崩坏苍蝇兽
 * @date 2023/12/27 18:56
 * @description ...
 * @since v0.0.1
 */
@Mapper
public interface Score2048Dao {

    List<Score2048> selectFirstFive();

    void insertScore(Score2048 template);

    List<Score2048> selectSorted();

    int selectRank(int score);

    int countAll();
}
